package testAction

import com.sxdz.ApplicationRun
import com.sxdz.models.TSendInfo
import com.sxdz.web.send.SendInfoAction
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.SpringApplicationConfiguration
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner
import org.springframework.test.context.web.WebAppConfiguration
import org.springframework.test.web.servlet.MockMvc
import org.springframework.test.web.servlet.setup.MockMvcBuilders
import org.springframework.web.context.WebApplicationContext
import testAction.base.BaseControllerTest

import java.text.SimpleDateFormat
import java.util.logging.Logger

/**
 * Created by andy on 2016/8/8.
 */

class TestProgramAction extends  BaseControllerTest {
    @Test
    void getAllSend() {
        comm_get("/program/getList");
    }
    @Test
    void getAllSendById() {
        comm_get("/program/getListById/7");
    }

}